<form action="index.php" method="post" name="groups_form">
<input type="hidden" name="function" value="{function}" />
<input type="hidden" name="id" value="{id}" /> 
<input type="hidden" name="module" value="groups" />

<table align="center" width="100%" class="tabelka2">
<tr>
	<td class="row_1" align="center" colspan="2">{multi}</td>
</tr>
<?php if('{ed}' != 0) { ?>
<tr>
    <td class="row_2" align="center"><?echo($lang['groups_type']);?></td>
	  <td class="row_2" align="left"><select name="type" class="button">
     {type}
     </select></td>
</tr>
<?php } ?>
<tr>
    <td class="row_1" align="center"><?echo($lang['groups_rank']);?></td>
	  <td class="row_1" align="left"><select name="rank" class="button">
     {rank}
     </select></td>
</tr>
<tr>
    <td class="row_2" align="center"><?echo($lang['groups_color']);?></td>
	 <td class="row_2" align="left"><input type="text" maxlength="20" name="color" value="{color}" class="button" size="10" /></td>
</tr>
<tr>
    <td class="row_1" align="center"><?echo($lang['prefix']);?></td>
	 <td class="row_1" align="left"><input type="text" name="prefix" value="{prefix}" class="button" size="5" maxlength="5" /></td>
</tr>
<?php if(perms_check('forum', 'set_moderators')) { ?>
<tr>
     <td class="row_2" align="center"><?echo($lang['forum_admin_moderator']);?></td>
     <td class="row_2" align="left"><select id="moderate" name="moderate[]" size="5" class="button" multiple>{moderator_options}</select><input type="button" onclick="deselect_all('moderate')" value="<?echo($lang['users_deselect_all']);?>" class="button" /></td>
</tr>
<?php } ?>
<tr>
	<td class="row_1" align="center" width=100><?echo($lang['admin_date']);?></td>
	<td class="row_1" align="left"><input type="text" maxlength="30" name="date" value="{date}" class="button" size="20" readonly="true" /></td>
</tr>
<tr>
     <td></td>
     <td><input type="submit" value="{submit}" class="button" /></td>
</tr>
</table>
</form>
